package com.ruoyi.bnt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程期数（视频）对象 bnt_courseissue
 * 
 * @author yyj
 * @date 2020-10-03
 */
public class BntCourseissue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一编号 */
    private String id;

    /** 状态，0正常，-1删除 */
    @Excel(name = "状态，0正常，-1删除")
    private Long state;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 父节点ID */
    @Excel(name = "父节点ID")
    private String parentId;

    /** 主题 */
    @Excel(name = "主题")
    private String theme;

    /** 课时 */
    @Excel(name = "课时")
    private Long classHour;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setTheme(String theme) 
    {
        this.theme = theme;
    }

    public String getTheme() 
    {
        return theme;
    }
    public void setClassHour(Long classHour) 
    {
        this.classHour = classHour;
    }

    public Long getClassHour() 
    {
        return classHour;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("state", getState())
            .append("title", getTitle())
            .append("parentId", getParentId())
            .append("theme", getTheme())
            .append("classHour", getClassHour())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
